package cn.yougou.vo;

import java.io.Serializable;
import java.util.Arrays;

/**
 * @author: DELL
 * @date: 2021/1/13 15:29
 * @description:
 */
public class YgPaymentVo implements Serializable {
    /***
     * 支付
     * 需要什么数据
     * 订单数组
     * 用户id
     * 支付方式
     * 优惠券id
     * */
    private Integer userId;
    private Integer [] orderIdArr;
    private Integer modeOfPayment;
    private Integer couponsId;

    public YgPaymentVo() {
    }

    public YgPaymentVo(Integer userId, Integer[] orderIdArr, Integer modeOfPayment, Integer couponsId) {
        this.userId = userId;
        this.orderIdArr = orderIdArr;
        this.modeOfPayment = modeOfPayment;
        this.couponsId = couponsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer[] getOrderIdArr() {
        return orderIdArr;
    }

    public void setOrderIdArr(Integer[] orderIdArr) {
        this.orderIdArr = orderIdArr;
    }

    public Integer getModeOfPayment() {
        return modeOfPayment;
    }

    public void setModeOfPayment(Integer modeOfPayment) {
        this.modeOfPayment = modeOfPayment;
    }

    public Integer getCouponsId() {
        return couponsId;
    }

    public void setCouponsId(Integer couponsId) {
        this.couponsId = couponsId;
    }

    @Override
    public String toString() {
        return "YgPaymentVo{" +
                "userId=" + userId +
                ", orderIdArr=" + Arrays.toString(orderIdArr) +
                ", modeOfPayment=" + modeOfPayment +
                ", couponsId=" + couponsId +
                '}';
    }
}
